home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
sockdem.zip
/
_SETUP.1
/
socketsDlg.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-06-19
|
2KB
|
78 lines
// socketsDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mswinsockcontrol.h"
//}}AFX_INCLUDES
#if !defined(AFX_SOCKETSDLG_H__396C63E7_E702_11D0_9E91_00A0249EBADC__INCLUDED_)
#define AFX_SOCKETSDLG_H__396C63E7_E702_11D0_9E91_00A0249EBADC__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CSocketsDlg dialog
class CSocketsDlg : public CDialog
{
// Construction
public:
CSocketsDlg(CWnd* pParent = NULL); // standard constructor
VARIANT myVar;
// Dialog Data
//{{AFX_DATA(CSocketsDlg)
enum { IDD = IDD_SOCKETS_DIALOG };
CString m_ed3;
CString m_ed4;
CMSWinsockControl* pMySocket;
CMSWinsockControl m_mysock;
long m_RemotePort;
long m_LocalPort;
CString m_rxText;
CString m_txText;
CString m_localIP;
CString m_remoteIP;
short m_state;
int myTimer;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSocketsDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CSocketsDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnSetSocket();
afx_msg void OnChangeEdTX();
afx_msg void OnDataArrivalWinsock1(long bytesTotal);
afx_msg void OnErrorWinsock1(short Number, BSTR FAR* Description, long Scode, LPCTSTR Source, LPCTSTR HelpFile, long HelpContext, BOOL FAR* CancelDisplay);
afx_msg void OnConnectWinsock1();
afx_msg void OnConnectionRequestWinsock1(long requestID);
afx_msg void OnCloseWinsock1();
afx_msg void OnSendProgressWinsock1(long bytesSent, long bytesRemaining);
afx_msg void OnSendCompleteWinsock1();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnDestroy();
afx_msg void OnSend();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SOCKETSDLG_H__396C63E7_E702_11D0_9E91_00A0249EBADC__INCLUDED_)